<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mpostimage extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "post_image";
    public $primaryKey = "posti_id";
    public $resCode = "POST_IMAGE";

    function __construct() {
        parent::__construct();
    }

    function field() {
		$fieldData = array();
        $fieldData['pos_id'] = 0;
        $fieldData['posti_image'] = '';
        $fieldData['posti_time_create'] = 0;
        $fieldData['posti_adm_create'] = 0;
        $fieldData['posti_ip'] = '';
        return $fieldData;
    }
}

?>